<?php
$htmlFile = dirname(__DIR__) . '/web/index.html';
$html = file_get_contents($htmlFile);
$html = str_replace('/web/static/js/index.', '../public/index.php?s=/samos/setjs/index&i='.$_GET["i"].'&jspath=/web/static/js/index.',  $html);

echo ($html);
